﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace NOSDC.Pocos
{
    public class Speaker
    {
        public int SpeakerId { get; set; }

        [Required]
        public string FirstName { get; set; }
           
        [Required]
        public string LastName { get; set; }
          
        [Required]
        public string Bio { get; set; }
        public virtual List<Events> Events { get; set; }

        public override string ToString()
        {
            return FirstName + " " + LastName;
        }
    }
}
